/**
 * 学习目标：class语法
 */

// function Programmer() {}

// const _pro = new Programmer();

class Programmer {
  name = '程序员';

  writeCode() {
    console.log('写代码  ');
  }
}

class FrontEnd extends Programmer {}

const _pro = new Programmer();
console.log(_pro, '_pro');
const _frontEnd = new FrontEnd();
// _frontEnd.writeCode();
